Skip to content

chore(deps): upgrade js-yaml from 4.3.2 to 5.4.2 - #2031

Merged
ArtieReus merged 2 commits into
mainfrom
artie-upgrade-js-yaml-v5.4.2
Oct 2, 2026
Merged

ArtieReus merged 2 commits into
mainfrom
artie-upgrade-js-yaml-v5.4.2

Conversation

@ArtieReus

Copy link
Copy Markdown
Collaborator

Summary

This PR upgrades the js-yaml dependency from version 4.3.2 to 5.4.2 in the greenhouse app. Version 5 includes built-in TypeScript types, eliminating the need for the separate @types/js-yaml package.

Changes Made

  • Upgraded js-yaml from 4.3.2 to 5.4.2 in apps/greenhouse/package.json
  • Removed @types/js-yaml dependency (no longer needed as v5 includes built-in types)
  • Updated YamlViewer.tsx to use named export (dump) instead of default import
  • Updated pnpm-lock.yaml to reflect the dependency changes
  • Created changeset for tracking this upgrade

Related Issues

This upgrade is part of the ongoing dependency maintenance. It was separated from PR #1874 (TypeScript 7 upgrade) which is currently blocked by typescript-eslint compatibility.

Screenshots (if applicable)

N/A - No visual changes

Testing Instructions

  1. pnpm i
  2. cd apps/greenhouse
  3. pnpm typecheck - Verify TypeScript compilation passes
  4. pnpm test - Verify all tests pass (104 tests should pass)
  5. pnpm lint - Verify linting passes
  6. pnpm dev - Start the app and verify YAML viewer still works in admin pages

Checklist

  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • I have made corresponding changes to the documentation (if applicable).
  • My changes generate no new warnings or errors.
  • I have created a changeset for my changes.

PR Manifesto

Review the PR Manifesto for best practises.

Signed-off-by: Arturo Reuschenbach Puncernau <reuschenbach@gmail.com>
Copilot AI balanced review requested due to automatic review settings September 30, 2026 19:51
@ArtieReus
ArtieReus requested a review from a team as a code owner September 30, 2026 19:51
@changeset-bot

changeset-bot Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7e10e65

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudoperators/juno-app-greenhouse Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ArtieReus ArtieReus self-assigned this Sep 30, 2026
@ArtieReus ArtieReus added the greenhouse-pr-build Set this label to create a preview image which will automatically set the `greenhouse-pr-preview` label Sep 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The dependency, import, typings, lockfile, and changeset updates are consistent and covered by existing component tests.

Review effort: Balanced
Findings: None

What changed in this PR

Upgrades Greenhouse to js-yaml 5.4.2 and adopts its built-in TypeScript declarations.

Changes:

  • Upgraded js-yaml and removed @types/js-yaml.
  • Updated YamlViewer to use the named dump export.
  • Refreshed the lockfile and added a patch changeset.
File Description
apps/​greenhouse/​package.json Updates dependency declarations.
apps/​greenhouse/​src/​components/​admin/​common/​YamlViewer.tsx Uses the v5 named export.
pnpm-lock.yaml Records the updated dependency graph.
.changeset/​upgrade-js-yaml.md Documents the patch release.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions github-actions Bot added the greenhouse-pr-preview THIS LABEL IS SET AUTOMATICALLY. label Sep 30, 2026
@github-actions github-actions Bot added greenhouse-pr-preview THIS LABEL IS SET AUTOMATICALLY. and removed greenhouse-pr-preview THIS LABEL IS SET AUTOMATICALLY. labels Oct 2, 2026
@ArtieReus
ArtieReus merged commit fb58631 into main Oct 2, 2026
25 checks passed
@ArtieReus
ArtieReus deleted the artie-upgrade-js-yaml-v5.4.2 branch October 2, 2026 08:13
@github-actions github-actions Bot removed the greenhouse-pr-preview THIS LABEL IS SET AUTOMATICALLY. label Oct 2, 2026
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-10-02 08:13 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

greenhouse-pr-build Set this label to create a preview image which will automatically set the `greenhouse-pr-preview`

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants